#ifndef NONQTMAIN_H_
#define NONQTMAIN_H_
#pragma once
#include "frame_event.h"
#include "frame_nonevent.h"

//#include <Windows.h>
//#include <process.h>

//#include "nonqtmain.h"
//#include "userconfig.h"
//using namespace std;
//#pragma warning(disable :4996)
/////////////////This head file is used for main.cpp////////////////////////
//#define WM_DESTROYAPP_MSG (WM_USER+100)
//#define WM_REINITAPP_MSG (WM_USER+101)

//bool AppInit(char* BrokerID, char* UserID, char* Password, char* traderFront);
//bool AppDestroy();
//bool InitThread(CStrategySys* pStrategy_sys);
//void DestroyThread();
//void AppReleaseFrameTimer(TimerFire_namespace::TimerFireType timertype);

//bool AddOrDelBarList(unsigned int index, vector<BarInfo>* pvold, vector<BarInfo>* pvnew);
//bool AddOrDelBarList(unsigned int index, vector<BarInfo>* pvdel, vector<BarInfo>* pvadd, vector<userdata_stra1>* puser);
////bool AddOrDelBarList(unsigned int index, vector<BarInfo>* pvdel, vector<BarInfo>* pvadd, vector<userdata_stra2>* puser);
////bool AddOrDelBarList(unsigned int index, vector<BarInfo>& vdel, vector<TimerFire_namespace::TimerFireType> vtimertype, vector<BarInfo>& vadd, vector<userdata_stra2>& vuserdata);
//bool AddOrDelBarList(unsigned int index, vector<BarInfo>& vdel, vector<TimerFire_namespace::TimerFireType>& vdeltimertype, vector<BarInfo>& vadd, vector<TimerFire_namespace::TimerFireType>& vaddtimertype, vector<userdata_stra2>& vuserdata);

//bool SendMFCData(unsigned int index, vector<MFCData*> &vmfcdata);

//bool EditBarList(unsigned int index, vector<BarInfo>* pvbar, vector<userdata_stra1>* puser);

#endif